/**
 * The contents of this file are subject to the OpenMRS Public License
 * Version 1.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://license.openmrs.org
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 *
 * Copyright (C) OpenMRS, LLC.  All Rights Reserved.
 */
package org.openmrs.module.datalogging.web.model;

import org.openmrs.BaseOpenmrsMetadata;
import org.openmrs.module.datalogging.enums.OffsetType;
import org.openmrs.module.datalogging.enums.ValueType;
import org.openmrs.module.datalogging.enums.VariableType;

/**
 *
 */
public class VariableModel extends BaseOpenmrsMetadata {
	
	private Integer variableId;
	
	private VariableType variableType;
	
	private ValueType valueType;
	
	private String location;
	
	private String encounterType;
	
	private String valueCoded;
	
	private String concept;
	
	private String valueExpression;
	
	private OffsetType offsetType;
	
	private Integer valueOffset;
	
	/**
	 * @see org.openmrs.OpenmrsObject#getId()
	 */
	public Integer getId() {
		return getVariableId();
	}
	
	/**
	 * @see org.openmrs.OpenmrsObject#setId(java.lang.Integer)
	 */
	public void setId(Integer id) {
		setVariableId(id);
	}
	
	/**
	 * Return the value of the variableId
	 * 
	 * @return the variableId
	 */
	public Integer getVariableId() {
		return variableId;
	}
	
	/**
	 * Set the variableId with the variableId value
	 * 
	 * @param variableId the variableId to set
	 */
	public void setVariableId(Integer variableId) {
		this.variableId = variableId;
	}
	
	/**
	 * Return the value of the variableType
	 * 
	 * @return the variableType
	 */
	public VariableType getVariableType() {
		return variableType;
	}
	
	/**
	 * Set the variableType with the variableType value
	 * 
	 * @param variableType the variableType to set
	 */
	public void setVariableType(VariableType variableType) {
		this.variableType = variableType;
	}
	
	/**
	 * Return the value of the valueType
	 * 
	 * @return the valueType
	 */
	public ValueType getValueType() {
		return valueType;
	}
	
	/**
	 * Set the valueType with the valueType value
	 * 
	 * @param valueType the valueType to set
	 */
	public void setValueType(ValueType valueType) {
		this.valueType = valueType;
	}
	
	/**
	 * Return the value of the location
	 * 
	 * @return the location
	 */
	public String getLocation() {
		return location;
	}
	
	/**
	 * Set the location with the location value
	 * 
	 * @param location the location to set
	 */
	public void setLocation(String location) {
		this.location = location;
	}
	
	/**
	 * Return the value of the encounterType
	 * 
	 * @return the encounterType
	 */
	public String getEncounterType() {
		return encounterType;
	}
	
	/**
	 * Set the encounterType with the encounterType value
	 * 
	 * @param encounterType the encounterType to set
	 */
	public void setEncounterType(String encounterType) {
		this.encounterType = encounterType;
	}
	
	/**
	 * Return the value of the valueCoded
	 * 
	 * @return the valueCoded
	 */
	public String getValueCoded() {
		return valueCoded;
	}
	
	/**
	 * Set the valueCoded with the valueCoded value
	 * 
	 * @param valueCoded the valueCoded to set
	 */
	public void setValueCoded(String valueCoded) {
		this.valueCoded = valueCoded;
	}
	
	/**
	 * Return the value of the concept
	 * 
	 * @return the concept
	 */
	public String getConcept() {
		return concept;
	}
	
	/**
	 * Set the concept with the concept value
	 * 
	 * @param concept the concept to set
	 */
	public void setConcept(String concept) {
		this.concept = concept;
	}
	
	/**
	 * Return the value of the valueExpression
	 * 
	 * @return the valueExpression
	 */
	public String getValueExpression() {
		return valueExpression;
	}
	
	/**
	 * Set the valueExpression with the valueExpression value
	 * 
	 * @param valueExpression the valueExpression to set
	 */
	public void setValueExpression(String valueExpression) {
		this.valueExpression = valueExpression;
	}
	
	/**
	 * Return the value of the offsetType
	 * 
	 * @return the offsetType
	 */
	public OffsetType getOffsetType() {
		return offsetType;
	}
	
	/**
	 * Set the offsetType with the offsetType value
	 * 
	 * @param offsetType the offsetType to set
	 */
	public void setOffsetType(OffsetType offsetType) {
		this.offsetType = offsetType;
	}
	
	/**
	 * Return the value of the valueOffset
	 * 
	 * @return the valueOffset
	 */
	public Integer getValueOffset() {
		return valueOffset;
	}
	
	/**
	 * Set the valueOffset with the valueOffset value
	 * 
	 * @param valueOffset the valueOffset to set
	 */
	public void setValueOffset(Integer valueOffset) {
		this.valueOffset = valueOffset;
	}
	
}
